package lbsproject.processaudit.misc;

import java.io.Serializable;

import lbsproject.processaudit.socket.type.Location4Comm;

public class SerializableLocation implements Serializable {

	/**
	 * 
	 */
	private static final long	serialVersionUID	= 1L;
	private double jingdu;
	private double weidu;
	private String locationId;

	public double getJingdu() {
		return jingdu;
	}

	public void setJingdu( double jingdu ) {
		this.jingdu = jingdu;
	}

	public double getWeidu() {
		return weidu;
	}

	public void setWeidu( double weidu ) {
		this.weidu = weidu;
	}

	public String getLocationId() {
		return locationId;
	}

	public void setLocationId( String locationId ) {
		this.locationId = locationId;
	}

	public SerializableLocation( double jingdu, double weidu,
			String locationId ) {
		super();
		this.jingdu = jingdu;
		this.weidu = weidu;
		this.locationId = locationId;
	}

	public SerializableLocation( Location4Comm location ) {
		this.jingdu = location.getJingdu();
		this.weidu = location.getWeidu();
		this.locationId = location.getLocationId();
	}

}
